package com.fen.demo009;

import org.springframework.stereotype.Service;

import javax.inject.Inject;
import javax.inject.Named;

/**
 * @author : lrf
 * @description :
 * @tip :
 * @date : 2019/3/22
 */
@Service
public class PersonService {

//    @Autowired
//    @Qualifier("aaa")
//    @Resource
    @Inject
    @Named("aaa")
    private PersonDao personDao;


    public void test(){
        personDao.say();
    }


}
